package com.semlab.shared;

import java.io.Serializable;
import java.util.List;

/**
 * @author Slobodan
 */
public class Page<E> implements Serializable {
    private List<E> items;
    private int total;

    public Page() {
    }

    public Page(int total, List<E> items) {
        this.total = total;
        this.items = items;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<E> getItems() {
        return items;
    }

    public void setItems(List<E> items) {
        this.items = items;
    }

}
